import request from '@/utils/request'

// 其他出库单-列表
export function queryOutOrderList(data) {
  return request({
    url: '/wms_v1_pc/other-out-order/list-other-out-order',
    method: 'POST',
    data
  })
}

// 其他出库单--查看
export function getOutOrderDetail(params) {
  return request({
    url: '/wms_v1_pc/other-out-order/get-other-out-order-detail',
    method: 'GET',
    params
  })
}

// 其他出库单-添加
export function addOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-out-order/add-other-out-order',
    method: 'POST',
    data
  })
}

// 其他出库单-出库
export function outOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-out-order/out-other-out-order',
    method: 'POST',
    data
  })
}

// 其他出库单-取消
export function cancelOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-out-order/cancel-other-out-order',
    method: 'POST',
    data
  })
}